package org.aspect.service.impl;

import org.aspect.annotation.Permissions;
import org.aspect.interfaces.Authority;
import org.aspect.service.BusinessService;
import org.springframework.stereotype.Service;

/**
 * 模拟业务逻辑
 *
 * @author LiKun
 * @date 2021/8/20 14:04
 */
@Service("businessService")
public class BusinessServiceImpl implements BusinessService {
    @Override
    @Permissions(authority = "ADMIN")
    public Authority operate(Authority authority) {
        return authority;
    }
}
